<include file="Core:Public:header" />
{:W('Navigation')}
<div class="body-right">
	<div class="row-table">
		<div class="row-table-title">查看员工合同</div>
		<div class="row-table-body">
			<p class="form-title"><a class="pull-right btn btn-primary btn-xs" href="{:U('hrm/staffcontract/edit','id='.$info['staffcontract_id'])}">变更</a>查看员工合同</p>
			<table class="table table-striped">
				<tbody>
					<tr><td>员工姓名:</td><td>{$info.user_name}</td><td>合同类型:</td><td>{:C('contracttype.'.$info['type'])}</td></tr>
					<tr><td>合同编号:</td><td>{$info.number}</td><td>合同名称:</td><td>{$info.name}</td></tr>
					<tr><td>合同状态:</td><td>{:C('contractstatus.'.$info['status'])}</td><td>期限类型:</td><td><if condition="$info['time_type'] == 1">固定期限<elseif condition="$info['time_type'] == 2" />无固定期限</if></td></tr>
					<tr><td>开始时间:</td><td>{$info.start_time|date='Y-m-d',###}</td><td>截止时间:</td><td>{$info.end_time|date='Y-m-d',###}</td></tr>
					<tr><td>合同内容:</td><td colspan="3"><pre>{$info.content}</pre><div class="clear"></div></td></tr>
					<tr><td>附件:</td><td colspan="3">
						<volist name="info.file" id="vo">
						<p><a href="{$vo.url}" target="_blank">{$vo.name}</a> 大小：{$vo.size}K 
						</volist>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
</div>
<div class="clear"></div>
<include file="Core:Public:alert" />
<include file="Core:Public:footer" />